package com.icodingedu.springcloud.topic;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

public interface GroupConsumer {

    String INPUT = "group-exchange";

    //可以被订阅的通道
    @Input(INPUT)
    SubscribableChannel input();
}
